﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace ASPNET.StarterKit.BusinessLogicLayer
{
    /// <summary>
    /// Summary description for Location
    /// </summary>
    public class Location
    {
      //  private int _LocationID;
        private string _LocationName;
        private string _LocAddr1;
        private string _LocAddr2;
        private string _LocCity;
        private string _LocState;
        private string _LocCountry;
        private string _LocPhone;
        private string _LocFax;
        private string _Remarks;



        public Location(
            //int LocationID,
            string LocationName,
            string LocAddr1,
            string LocAddr2,
            string LocCity,
            string LocState,
            string LocCountry,
            string LocPhone,
            string LocFax,
            string Remarks
            )
        {
           // _LocationID = LocationID;
            _LocationName = LocationName;
            _LocAddr1 = LocAddr1;
            _LocAddr2 = LocAddr2;
            _LocCity = LocCity;
            _LocState = LocState;
            _LocCountry = LocCountry;
            _LocPhone = LocPhone;
            _LocFax = LocFax;
            _Remarks = Remarks;

        }


        //public int LocationID
        //{
        //    get
        //    {

        //        return _LocationID;

        //    }

        //}
        public string LocationName
        {
            get
            {
                if (String.IsNullOrEmpty(_LocationName))
                {
                    return string.Empty;
                }
                return _LocationName;

            }
            set
            {
                _LocationName = value;
            }
        }
        public string LocAddr1
        {
            get
            {
                if (String.IsNullOrEmpty(_LocAddr1))
                {
                    return string.Empty;
                }
                return _LocAddr1;

            }
            set
            {
                _LocAddr1 = value;
            }
        }
        public string LocAddr2
        {
            get
            {
                if (String.IsNullOrEmpty(_LocAddr2))
                {
                    return string.Empty;
                }
                return _LocAddr2;

            }
            set
            {
                _LocAddr2 = value;
            }
        }
        public string LocCity
        {
            get
            {
                if (String.IsNullOrEmpty(_LocCity))
                {
                    return string.Empty;
                }
                return _LocCity;

            }
            set
            {
                _LocCity = value;
            }
        }
        public string LocState
        {
            get
            {
                if (String.IsNullOrEmpty(_LocState))
                {
                    return string.Empty;
                }
                return _LocState;

            }
            set
            {
                _LocState = value;
            }
        }

        public string LocCountry
        {
            get
            {
                if (String.IsNullOrEmpty(_LocCountry))
                {
                    return string.Empty;
                }
                return _LocCountry;

            }
            set
            {
                _LocCountry = value;
            }
        }
        public string LocPhone
        {
            get
            {
                if (String.IsNullOrEmpty(_LocPhone))
                {
                    return string.Empty;
                }
                return _LocPhone;

            }
            set
            {
                _LocPhone = value;
            }
        }
        public string LocFax
        {
            get
            {
                if (String.IsNullOrEmpty(_LocFax))
                {
                    return string.Empty;
                }
                return _LocFax;

            }
            set
            {
                _LocFax = value;
            }
        }
        public string Remarks
        {
            get
            {
                if (String.IsNullOrEmpty(_Remarks))
                {
                    return string.Empty;
                }
                return _Remarks;

            }
            set
            {
                _Remarks = value;
            }
        }

    }   
    }